home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / EleOfC++ vrs 0.1 / Scribble / TScribbleApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-07-14  |  963 b   |  40 lines  |  [TEXT/KAHL]

  1. /*
  2. ** This is the TScribbleApp class declaration.  This class is an adaptation of 
  3. ** the class of the same name in the book, Elements of C++ Macintosh 
  4. ** Programming, by Dan Weston.
  5. **
  6. ** Copyright © 1991 Mark Gross (gross@kaman.com and
  7. ** RR2, Box 84, Clayville, NY 13322);         
  8. ** this file may be published everywhere, but no charge
  9. ** may be made for its use.  Please contact me about any bugs found.
  10. ** I'm also looking for Macintosh development work, so drop me a line
  11. ** if you think I could help.  
  12. */
  13.  
  14.  
  15. #define    _H_TScribbleApp
  16.  
  17. #include "TApp.h"
  18. #include "TScribbleDoc.h"
  19.  
  20.  
  21. struct    TScribbleApp:TApp
  22. {
  23.     
  24.     
  25. /*    
  26. ** new member functions and overriding of parent class member function 
  27. */
  28.     
  29. /* Making TScibbleDocs*/
  30.     TDoc*    MakeDoc(SFReply *reply);
  31.     
  32. /* File Types and Ceator */
  33.     OSType    GetDocType(void);
  34.     OSType    GetCreator(void);
  35.     int        GetNumFileTypes(void);
  36.     void    GetFileTypeList(void);
  37.     Boolean CanOpen(void);
  38.     
  39. };/* end of TScribbleApp class decloration*/
  40.